package com.itboy.mall.pms.attrattrgroup.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 属性&属性分组关联对象 mall_attr_attrgroup
 *
 * @author itboy
 * @date 2021-07-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mall_attr_attrgroup")
public class MallAttrAttrGroup implements Serializable {

    private static final long serialVersionUID=1L;


    /** id */
    @TableId(value = "id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 属性id */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long attrId;

    /** 属性分组id */
	@JsonSerialize(using = ToStringSerializer.class)
    private Long attrGroupId;

    /** 属性组内排序 */
    private Long attrSort;

}
